1
Description
Under
development
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
------Table of Contents------
- SIO3 ..................................................... 141
A-D Converter .............................................. 144
D-A Converter .............................................. 154
CRC Calculation Circuit ................................ 156
CAN module ................................................ 158
Programmable I/O Ports .............................. 178
Usage Precaution ........................................ 188
Electrical Characteristics (Vcc = 5 V) .......... 190
Flash Memory Description ........................... 206
CPU Rewrite Mode ....................................... 209
Parallel I/O Mode ......................................... 224
Standard Serial I/O Mode ............................. 239
Description ...................................................... 1
Memory .......................................................... 9
Central Processing Unit (CPU) ...................... 18
Processor Mode ............................................ 21
Protection ..................................................... 32
Reset ............................................................ 33
Clock Generating Circuit ............................... 38
Interrupts ...................................................... 52
DMAC ........................................................... 72
WDT ............................................................. 79
Timer ............................................................ 81
Serial I/O ..................................................... 111
- UART0-2 .............................................. 127
Specifications written in this
manual are believed to be ac-
curate, but are not guaranteed
to be entirely free of error.
Specifications in this manual
may be changed for functional
or performance improvements.
Please make sure your manual
is the latest edition.
Description
The M16C/6NT group of single-chip microcomputers are built using the high-performance silicon gate CMOS
process using a M16C/60 Series CPU core and are packaged in a 100-pin plastic molded QFP. These single-
chip microcomputers operate using sophisticated instructions featuring a high level of instruction efficiency.
With 1M bytes of address space, they are capable of executing instructions at high speed. They also feature
a built-in multiplier and DMAC, making them ideal for controlling office, communications, industrial equip-
ment, and other high-speed processing applications.
Being equipped with two CAN (Controller Area Network) modules, the microcomputer is suited to drive
automotive and industrial control systems. The CAN modules comply with the 2.0B specification.
Features
Memory capacity ................................. ROM 128K/256K bytes
RAM 5K/10K bytes
Shortest instruction execution time ...... 62.5 ns (f(X
IN
) = 16MHz,
1
/
1
prescaler, without software wait)
100 ns (f(X
IN
) = 20MHz,
1
/
2
prescaler, without software wait)
Supply voltage ..................................... 4.2 to 5.5V (f(X
IN
) = 16MHz,
1
/
1
prescaler, without software wait)
4.2 to 5.5V (f(X
IN
) = 20MHz,
1
/
2
prescaler, without software wait)
Low power consumption ...................... TBD (f(X
IN
) = 16MHz,
1
/
1
prescaler, without software wait)
TBD (f(X
IN
) = 20MHz,
1
/
2
prescaler, without software wait)
Interrupts ............................................. 29 internal and 9 external interrupt sources, 4 software
interrupt sources; 7 priority levels (including key input interrupt)
Multifunction 16-bit timer ..................... 5 output timers + 6 input timers
Serial I/O ............................................. 4 channels (3 for UART or clock synchronous, 1 for clock synchronous)
DMAC ................................................. 2 channels (trigger: 23 sources)
CAN module ........................................ 2 channels, 2.0B active
A-D converter ...................................... 10 bits X 26 analog inputs
D-A converter ...................................... 8 bits X 2 analog outputs
CRC calculation circuit ........................ 1 circuit
Watchdog timer ................................... 1 15-bit timer
Programmable I/O ............................... 87 lines
Input port ............................................. 1 line (P8
5
shared with NMI pin)
Chip select output ................................ 4 lines
Memory expansion .............................. Available (to a maximum of 1M bytes)
Clock generating circuit ....................... 2 built-in clock generation circuits
(built-in feedback resistor, and external ceramic or quartz oscillator)
Applications
Automotive and industrial control systems
3
Description
Under
development
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Block Diagram
Figure 1-2 is a block diagram of the M16C/6N group.
Block diagram of the M16C/6N group
Figure 1-2. Block diagram of M16C/6N group
Timer
Timer TA0 (16 bits)
Timer TA1 (16 bits)
Timer TA2 (16 bits)
Timer TA3 (16 bits)
Timer TA4 (16 bits)
Timer TB0 (16 bits)
Timer TB1 (16 bits)
Timer TB2 (16 bits)
Internal peripheral functions
Watchdog timer
(15 bits)
DMAC
(2 channels)
A-D converter
(10 bits
X
26 inputs)
UART/clock synchronous SI/O
(8 bits
X
3 channels)
System clock generator
X
IN
-X
OUT
X
CIN
-X
COUT
M16C/60 series16-bit CPU core
I/O ports
Port P0
8
Port P1
8
Port P2
8
Port P3
8
Port P4
8
Port P5
8
Port P6
8
8
R0L
R0H
R1H
R1L
R2
R3
A0
A1
FB
R0L
R0H
R1H
R1L
R2
R3
A0
A1
FB
Registers
ISP
USP
Stack pointer
Vector table
INTB
CAN module
(2 channels)
Multiplier
7
8
8
Port P10
Port P9
Port P8
Port P7
Memory
Port P8
5
ROM
(Note 1)
(Note 1)
RAM
SB
FLG
PC
Program counter
Clock synchronous SI/O
(8 bits
X
1 channel)
D-A converter
(8 bits x 2 outputs)
Timer TB3 (16 bits)
Timer TB4 (16 bits)
Timer TB5 (16 bits)
CRC arithmetic circuit (CCITT)
(Polynomial : X
16
+X
12
+X
5
+1)
Note 1: Memory sizes depend on MCU type.
4
Description
Under
development
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Performance Outline
Table 1-1 is a performance outline of the M16C/6N group.
Table 1-1. Performance outline of M16C/6N group
Item
Performance
Number of basic instructions
91 instructions
Shortest instruction execution time
62.5 ns (f(X
IN
) = 16MHz,
1
/
1
prescaler, without software wait)
100ns (f(X
IN
) = 20MHz,
1
/
2
prescaler, without software wait)
Memory ROM
128K to 256K byte
capacity
RAM
5K to 10K byte
I/O ports
P0 to P10 (except P8
5
)
8 bit x 10, 7 bit x 1
Input port
P8
5
1 bit x 1
Multifunction
TA0, TA1, TA2, TA3, TA4
16 bit x 5
timer
TB0, TB1, TB2, TB3, TB4, TB5
16 bit x 6
Serial I/O
UART0, UART1, UART2
(UART or clock synchronous) x 3
SI/O3
Clock synchronous
A-D converter
10 bits x (8 + 8 + 8 + 2) inputs
D-A converter
8 bits x 2 channels
CRC calculation circuit
CRC-CCITT
DMAC
2 channels (trigger: 23 sources)
CAN module
2 channels, 2.0B active
Watchdog timer
15 bits x 1 (with prescaler)
Interrupt
29 internal and 9 external sources, 4 software sources,
7 priority levels
Clock generating circuit
2 built-in clock generation circuits (built-in feedback
resistor, and external ceramic or quartz oscillator)
Supply voltage
4.2 to 5.5V (f(X
IN
) = 16MHz,
1
/
1
prescaler, without software wait)
4.2 to 5.5V (f(X
IN
) = 20MHz,
1
/
2
prescaler, without software wait)
Power consumption
TBD (f(X
IN
) = 16MHz,
1
/
1
prescaler, without software wait)
TBD (f(X
IN
) = 20MHz,
1
/
2
prescaler, without software wait)
I/O
I/O withstand voltage
5V
characteristics
Output current
5mA
Operating ambient temperature
40 to 85
o
C
Device configuration
CMOS high performance silicon gate
Package
100-pin plastic mold QFP